package adv331;
import java.io.*;
/**
 * @author oldliu
 * @since 1.0
 */
public class FileReaderTest {
    public static void main(String[] args) {
        try {
            Reader reader=new FileReader("d:/temp/java76.txt");
            int ch=0;
            while ((ch=reader.read())!=-1){
                System.out.println((char)ch);
            }
            reader.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
